def wrap(str):
    def log(fun):
        def inner(*args, **kwargs):
            print("--------"+str)
            res = fun(*args, **kwargs)
            print("++++++++"+str)
            return res
        return inner
    return log

@wrap(".....")
def test(a,b,c):
    print("test",a,b,c)
    return a+b+c

# test = wrap("....")(test)

test(1,2,c=3)